//财务管理-定价列表-配置文件
App.util.ns('Admin.Finance.Price');
Admin.Finance.Price.Conf = {
    columns: [
        {name: '名称', value: 'name'},
        {name: '创建日期', width: '80px', value: function(item){
            return App.util.formator.date(item.created_at);
        }}
    ],
    form: [
        {type: 'hidden', name: 'id'},
        {type: 'input', name: 'name', title: '名称', required: true, maxLength: 40, rule: {
            type: 'str',
            range: [1, 40]
        }},
        {type: 'admin-finance-price-time', name: 'price', required: true, title: '定价'},
        {type: 'textarea', name: 'introduction', title: '说明', maxLength: 200,
            rule: {
            type: 'str',
            range: [0, 200]
        }}
    ]
};